//
// Created by penghuiping on 14/10/25.
// Copyright (c) 2014 joinsoft. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "hcnetsdk.h"

#import "IOSPlayM4.h"

@interface TGDCamera : NSObject

@property(strong, nonatomic) UIView *carmeraView;

+ (instancetype)cameraWithView:(UIView *)view;

- (instancetype)initWithView:(UIView *)view;

- (void)loginWithIpAddress:(NSString *)ipAddress userName:(NSString *)userName password:(NSString *)password;

-(void) stop;

- (void)startPlayer;


- (void)previewPlay:(int*)iPlayPort playView:(UIView*)playView;

@end